save height and add popup option