exit edit window
todo update