how would i handle the error codes of a common dialog if its made via api? (its so i can check if the user clicked cancel.)
cheers