Small WebUI adjustments. DOM cleanup of modal dialogs when closing from "X". Better enter key handling on modal dialogs.