properly check if the view has actions and a selector