Fixes #17010 - Fix permissions for popup-selecteditems

- Fix permissions for popup-selecteditems view as it asks for login
  and breaks the edit layout if the user doesn't have the standard
  Editor role but she/he can add/edit a document.