Revert "Fix hidden dialog when called from Bootstrap modal."

This reverts commit 26e0203e089b9f5c698d44ded9ad560b732c4076.

#47
v1.2.3