I use this Jquery in order to display modal box.
I append it to other div, because otherwise i face problems with design / z-index.
This works fine however when closing the modal it does not place back but completely removes it.
Any ideas how to fix ? In other words how can I take care that it does not get removed or how do I can place it back manually ?