Fixed issue with modal blocker element being removed even if close default event is blocked.