bind cancel action to login box