dragging google map inside modal dialog

dragging google map inside modal dialog

hello,
i have a modal dialog with google map inside. everything works except
for map dragging. the problem is that if i drag the map and release
the mouse button outside the dialog frame the map does not seem to
receive the mouse up event and keeps dragging anyway even though i
have released the mouse button. this is in firefox. in IE it is
slightly different. in IE map stops dragging by itself if i drag far
enough (it depends on the dialog size). has anyone seen this problem?
any suggestions?
thanks
konstantin
--