Ctrl+R runs the code. User is prompted when he/she leaves the page