Click o to open the Options window, then select Input menu, next set Close All User Interface value.