see https://jira.magnolia-cms.com/browse/MGNLUI-7379?focusedCommentId=316256&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-316256 and MGNLUI-7573