Fixed the totem sheet to redirect in edit mode only when we're not in a page displayed in the wysiwyg. This allows a totem to be included in another page using the include macro.