hatuhay, thank you for your examples. The content now is displayed on a popup window, but the modal window is still not working properly. The content is returned from a callback function of the menu hook item.