Made collapse turn off editing