disables map while ajax is running