Added support for text above form in modal dialogs