fix(modal): modal container element is used instead  - fix #615