Confirm dialog before reverting changes of grid