How can I detect what button was pressed on the commondialog control. (save/open or cancel button)