refactoring  `scan_modals` instead `profile_photo`