Showing any page as a dialog?

Showing any page as a dialog?

Hi,

  Is there a way to show a JQM page (that is part of a jQM multipage template in a html and each jQM page has a id) file as a dialog using data-rel="dialog"? The idea is to use the destination html file as is and also popped up as a dialog to avoid defining a separate popup. 

Thanks in advance and regards