Prevent a Modal Dialog from Closing with request-close in React

Use request-close to let a dialog cancel closing before React handles the final result.