OK: Creates the new polygons and closes the tool.
Cancel: Closes the tool without creating any polygons.