How to call the GUI then is need and to close then is need?

You can modify the timestep of a collection proxy (your game maybe) by posting a set_time_step message to the collection proxy.