Add preview mode in admin