When an action opens records in list (or other) mode in a popup (target:new), the pager should be kept. It can be removed in form view. Fixes #742