there is no way for finding out if the user clicked save or cancel. your best bet to find that info is to add something to the actual file that registers being requested, for that you will need a component on the server or something. if you find an answer PLEASE let me know. ive been searching for about the last year