enter button works for gui