Dedit remove unused canCloseDocument callback