file dialog cancel
range checks