add confirmation window when regenerating input matrix if there is already a matrix geneterated