1 - the basic editor buttons would be a nice feature, I would have to investigate it a litle. The button to advanced mode i think is easy to implement (I would need just to copy the code from the template to my visitorReply.php)
2 - to create a cancel button, you can add this to the step 3 (inside the if, after the first li tag , I didnt test it, but its simple, it should work):
Code:
<li class="smallfont"><a href="#link$message[vmid]" title="Close" onclick="document.getElementById($message[vmid]).style.display = 'none'">Close</a></li>
you will also need to change the openVisitorReply to inside the javascript file to:
Code:
function openVisitorReply(id, user, user2, securitytoken, userid) {
if(document.getElementById(id) != null){
document.getElementById(id).innerHTML = "<iframe name=\"iframe"+id+"\" scrolling=\"no\" align='center' style=\"border: 0;\" id=\"iframe"+id+"\" src=\"./visitorReply/visitorReply.php?u="+user+"&u2="+user2+"&securitytoken="+securitytoken+"&userid="+userid+"&id="+id+"\" width=\"100%\" height=\"100\"></iframe>";
document.getElementById($message[vmid]).style.display = 'block';
}
}
3 - the text area little gray you need to set the background color of the textarea inside the visitorReply.php file
style="background:#COLORHERE"
If I have same time I will update this... but I think I wont make it a product, because it already took me a few hours trying it...