Check out dialog boxes supported on Haxe's Linux and HTML5(WebGL) targets with platform agnostic appearances. They are displayed inside of the application window, but are not scaled with its content, so they'll remain at a consistent size while being displayed on top of the application graphics.