! fix Exception when cancelling the score edit dialog