A react component for modals and dialogs