Added auto populate to line selection modal