Commiting after modifying the pop ups