How would i tell if the user pessed cancel or the close button in an open dialogbox. thanks
nevermind i figured it out.