code: def show_osm_downloader(self):
          
          from safe.gui.tools.osm_downloader_dialog import OsmDownloaderDialog
  
          dialog = OsmDownloaderDialog(self.iface.mainWindow(), self.iface)
          # otherwise dialog is never deleted
          dialog.setAttribute(Qt.WA_DeleteOnClose, True)
          dialog.show()
docs: Show the OSM buildings downloader dialog.