Separated dialogue box rendering to a static method for general uses.