Fixed a bug where the preview window wouldn't open if a footer hadn't been set