I have an application with a titleWindow. On the titleWindow,
I have a "Yes" and a "No" button. If the user click "Yes" then the
button will take them to the next state view. If no, then the
titleWindow is canceled or closed and take the user back to the
application. I don't know how to pass that "event" in the
titleWindow to take the user to another state view. I hope this
make sense to somebody.