added option for close button