Remove the alert modal whan the grid us destoyed.