Added preview of selected document