FIX map resize, dialog boxes