I wonder why DrawAction.finishDrawing() is called so rarely. It is not even called when the edit layer is closed. Where would be the best place to change that?