Creating a quick pop-up text editor in KM?

While you can't make it modal, you can switch to it using the keyboard. You could, for example, start the macro that produces the HTML window with an "if HTML window already exists then bring it to the front and then exit this macro" routine. This post should help you target the KM Engine and its windows