We added additional controller methods to not display the layout when mendeley and zotero are displayed in a modal window.