Added basic design mode support. (Not complete)
Added delay to return submition so that textbox can finish updating before submitting.