Added edit.html to edit iframe instead of loading it via $http - fixes bug with Firefox where content is not loaded into the iframe
Made the preview load in a different window