Implemented a Pause dialog