Fixed documentviewer not disposing on close