How to show dialog?

How to show dialog?

Hi,

I want to show a dialog using a certain method or call and not using an <a href ... /> how can i do this?