Fixed bug where clicking on modal background does not exit backgrid editing.