title: How to open <ace:dialog> or <p:dialog> by JavaScript?
body: <p>I need to open ace:dialog or p:dialog (because IceFaces is a fork of PrimeFaces, and it's the same tag and attributes) in area where I've did the click with the mouse, but I don't know how to do this with JavaScript. How can I achieve this?</p>