preview modal fixes - jenkins