Crop dialog just after file submit