Maybe you should just use separate forms and show() one and close() the other?