fixed undefined bug, added iframe loading on modal show