Does not reset current document when show documents dialog is open.