changed cancel to link instead of button