Added autosave functionality and resurrected the old toolbar code that was added about a year ago but never uesd.
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Template for dialogs</title>
<link rel="stylesheet" type="text/css" href="skins/clearlooks2/window.css" />
</head>
<body>
<div class="mceEditor">
<div class="clearlooks2" style="width:400px; height:100px; left:10px;">
<div class="wrapper">
<div class="top">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Blured</span>
</div>
<div class="middle">
<div class="left"></div>
<span>Content</span>
<div class="right"></div>
</div>
<div class="bottom">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Statusbar text.</span>
</div>
<a class="move" href="#"></a>
<a class="min" href="#"></a>
<a class="max" href="#"></a>
<a class="med" href="#"></a>
<a class="close" href="#"></a>
<a class="resize resize-n" href="#"></a>
<a class="resize resize-s" href="#"></a>
<a class="resize resize-w" href="#"></a>
<a class="resize resize-e" href="#"></a>
<a class="resize resize-nw" href="#"></a>
<a class="resize resize-ne" href="#"></a>
<a class="resize resize-sw" href="#"></a>
<a class="resize resize-se" href="#"></a>
</div>
</div>
<div class="clearlooks2" style="width:400px; height:100px; left:420px;">
<div class="wrapper movable focus">
<div class="top">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Focused</span>
</div>
<div class="middle">
<div class="left"></div>
<span>Content</span>
<div class="right"></div>
</div>
<div class="bottom">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Statusbar text.</span>
</div>
<a class="move" href="#"></a>
<a class="min" href="#"></a>
<a class="max" href="#"></a>
<a class="med" href="#"></a>
<a class="close" href="#"></a>
<a class="resize resize-n" href="#"></a>
<a class="resize resize-s" href="#"></a>
<a class="resize resize-w" href="#"></a>
<a class="resize resize-e" href="#"></a>
<a class="resize resize-nw" href="#"></a>
<a class="resize resize-ne" href="#"></a>
<a class="resize resize-sw" href="#"></a>
<a class="resize resize-se" href="#"></a>
</div>
</div>
<div class="clearlooks2" style="width:400px; height:100px; left:10px; top:120px;">
<div class="wrapper movable focus statusbar">
<div class="top">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Statusbar</span>
</div>
<div class="middle">
<div class="left"></div>
<span>Content</span>
<div class="right"></div>
</div>
<div class="bottom">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Statusbar text.</span>
</div>
<a class="move" href="#"></a>
<a class="min" href="#"></a>
<a class="max" href="#"></a>
<a class="med" href="#"></a>
<a class="close" href="#"></a>
<a class="resize resize-n" href="#"></a>
<a class="resize resize-s" href="#"></a>
<a class="resize resize-w" href="#"></a>
<a class="resize resize-e" href="#"></a>
<a class="resize resize-nw" href="#"></a>
<a class="resize resize-ne" href="#"></a>
<a class="resize resize-sw" href="#"></a>
<a class="resize resize-se" href="#"></a>
</div>
</div>
<div class="clearlooks2" style="width:400px; height:100px; left:420px; top:120px;">
<div class="wrapper movable focus statusbar resizable">
<div class="top">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Statusbar, Resizable</span>
</div>
<div class="middle">
<div class="left"></div>
<span>Content</span>
<div class="right"></div>
</div>
<div class="bottom">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Statusbar text.</span>
</div>
<a class="move" href="#"></a>
<a class="min" href="#"></a>
<a class="max" href="#"></a>
<a class="med" href="#"></a>
<a class="close" href="#"></a>
<a class="resize resize-n" href="#"></a>
<a class="resize resize-s" href="#"></a>
<a class="resize resize-w" href="#"></a>
<a class="resize resize-e" href="#"></a>
<a class="resize resize-nw" href="#"></a>
<a class="resize resize-ne" href="#"></a>
<a class="resize resize-sw" href="#"></a>
<a class="resize resize-se" href="#"></a>
</div>
</div>
<div class="clearlooks2" style="width:400px; height:100px; left:10px; top:230px;">
<div class="wrapper movable focus resizable maximizable">
<div class="top">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Resizable, Maximizable</span>
</div>
<div class="middle">
<div class="left"></div>
<span>Content</span>
<div class="right"></div>
</div>
<div class="bottom">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Statusbar text.</span>
</div>
<a class="move" href="#"></a>
<a class="min" href="#"></a>
<a class="max" href="#"></a>
<a class="med" href="#"></a>
<a class="close" href="#"></a>
<a class="resize resize-n" href="#"></a>
<a class="resize resize-s" href="#"></a>
<a class="resize resize-w" href="#"></a>
<a class="resize resize-e" href="#"></a>
<a class="resize resize-nw" href="#"></a>
<a class="resize resize-ne" href="#"></a>
<a class="resize resize-sw" href="#"></a>
<a class="resize resize-se" href="#"></a>
</div>
</div>
<div class="clearlooks2" style="width:400px; height:100px; left:420px; top:230px;">
<div class="wrapper movable statusbar resizable maximizable">
<div class="top">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Blurred, Maximizable, Statusbar, Resizable</span>
</div>
<div class="middle">
<div class="left"></div>
<span>Content</span>
<div class="right"></div>
</div>
<div class="bottom">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Statusbar text.</span>
</div>
<a class="move" href="#"></a>
<a class="min" href="#"></a>
<a class="max" href="#"></a>
<a class="med" href="#"></a>
<a class="close" href="#"></a>
<a class="resize resize-n" href="#"></a>
<a class="resize resize-s" href="#"></a>
<a class="resize resize-w" href="#"></a>
<a class="resize resize-e" href="#"></a>
<a class="resize resize-nw" href="#"></a>
<a class="resize resize-ne" href="#"></a>
<a class="resize resize-sw" href="#"></a>
<a class="resize resize-se" href="#"></a>
</div>
</div>
<div class="clearlooks2" style="width:400px; height:100px; left:10px; top:340px;">
<div class="wrapper movable focus resizable maximized minimizable maximizable">
<div class="top">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Maximized, Maximizable, Minimizable, Focused</span>
</div>
<div class="middle">
<div class="left"></div>
<span>Content</span>
<div class="right"></div>
</div>
<div class="bottom">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Statusbar text.</span>
</div>
<a class="move" href="#"></a>
<a class="min" href="#"></a>
<a class="max" href="#"></a>
<a class="med" href="#"></a>
<a class="close" href="#"></a>
<a class="resize resize-n" href="#"></a>
<a class="resize resize-s" href="#"></a>
<a class="resize resize-w" href="#"></a>
<a class="resize resize-e" href="#"></a>
<a class="resize resize-nw" href="#"></a>
<a class="resize resize-ne" href="#"></a>
<a class="resize resize-sw" href="#"></a>
<a class="resize resize-se" href="#"></a>
</div>
</div>
<div class="clearlooks2" style="width:400px; height:100px; left:420px; top:340px;">
<div class="wrapper movable statusbar resizable maximized minimizable maximizable">
<div class="top">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Maximized, Maximizable, Minimizable</span>
</div>
<div class="middle">
<div class="left"></div>
<span>Content</span>
<div class="right"></div>
</div>
<div class="bottom">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Statusbar text.</span>
</div>
<a class="move" href="#"></a>
<a class="min" href="#"></a>
<a class="med" href="#"></a>
<a class="max" href="#"></a>
<a class="close" href="#"></a>
<a class="resize resize-n" href="#"></a>
<a class="resize resize-s" href="#"></a>
<a class="resize resize-w" href="#"></a>
<a class="resize resize-e" href="#"></a>
<a class="resize resize-nw" href="#"></a>
<a class="resize resize-ne" href="#"></a>
<a class="resize resize-sw" href="#"></a>
<a class="resize resize-se" href="#"></a>
</div>
</div>
<div class="clearlooks2" style="width:400px; height:130px; left:10px; top:450px;">
<div class="wrapper movable focus modal alert">
<div class="top">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Alert</span>
</div>
<div class="middle">
<div class="left"></div>
<span>
This is a very long error message. This is a very long error message.
This is a very long error message. This is a very long error message.
This is a very long error message. This is a very long error message.
This is a very long error message. This is a very long error message.
This is a very long error message. This is a very long error message.
This is a very long error message. This is a very long error message.
</span>
<div class="right"></div>
<div class="icon"></div>
</div>
<div class="bottom">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
</div>
<a class="move" href="#"></a>
<a class="button ok" href="#">Ok</a>
<a class="close" href="#"></a>
</div>
</div>
<div class="clearlooks2" style="width:400px; height:130px; left:420px; top:450px;">
<div class="wrapper movable focus modal confirm">
<div class="top">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
<span>Confirm</span>
</div>
<div class="middle">
<div class="left"></div>
<span>
This is a very long error message. This is a very long error message.
This is a very long error message. This is a very long error message.
This is a very long error message. This is a very long error message.
This is a very long error message. This is a very long error message.
This is a very long error message. This is a very long error message.
This is a very long error message. This is a very long error message.
</span>
<div class="right"></div>
<div class="icon"></div>
</div>
<div class="bottom">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
</div>
<a class="move" href="#"></a>
<a class="button ok" href="#">Ok</a>
<a class="button cancel" href="#">Cancel</a>
<a class="close" href="#"></a>
</div>
</div>
</div>
</body>
</html>