We added additional controller methods to not display the layout when me...

...ndeley and zotero are displayed in a modal window.