I have got a question, How to add popap window to Sharepoint by the code. I tried many thinks, but they could be block by web browsers. I must find that want unblock by web browsers.
This is a simplest form of SharePoint 2010 Modal Dialog, using SP.Dialog class!
This is same dialog which opens when you add new item to a list, or edit any item! You can provide any url in SP Dialog Options!