Removing unused dialog.