Fixing map problem in modal window