Creating a new document automatically selects it in the table