A component to use in controllers for showing modal dialogs.