remove unused imports from single_dialog