fix photos ordering bugs when in `ScaleSettingWidget` + clicking `Cancel` closes the widget when in importing phase (Issues #209, #210)
mentioned in issue #210 (closed)