Add check that view exists for panel