"script that opens and and closes a frame when a ui button is clicked"