added the function for the cancel button for fullpagenopreview uio