I’ve a serious problem with dialogs in jQuery, because always we need to build a container div to put our content inside.
Perhaps we have another method to do that?
We have! it’s simple, so instead this :
We will be using a new way, take a look:
Let me explain:
First, build a jQuery with a div inside,
this trick avoid us to need to use another div on your DOM
after that, we made a method
to simplify we follow the pattern.