simplify new file dialog with possibility to revert with options. fix #44