Solves issue when loading document creation form