completed handling for 'Preview'

-requests for preview before opening are now being handled correctly
added some images & js for UX