Fix a potential crash bug with axis input. Remove ok/cancel buttons from popup lists.