Currently the form dialog is a little full and the editor fields for HTML and CSS are a little small.
I'd advise to split the form into "programming tabs" and a "general tab".
Any "programming tabs" should be a selectable tab named "HTML" or "CSS" and provide a big editor to comfortably see/edit the HTML/CSS stuff.
When a tab contains dirty fields, mark the tab as dirty using "*" or something.
"Save" and "Cancel" should be everywhere at the bottom. "Dirty Cancel" should lead to an additional dialog "Are you sure?"
This way the programming stuff is way more readable and comfortable to edit.