issue #21478: Hide new button for lists where it does not apply