"click ui button to open and close frame"