prevent action when has disabled class