added dailog box for on back pressed