Do the same as this, but then another event message like enableUI and set the body to display block/none.
enableUI
body
See [How-To] Use NUI (UI Creation with HTML)