warn user to click save or cancel