close form and move back button