change action for cancel-buttons