fixes #2369 Return null rather than the edge bend if the user cancels.