Close button may overlap title

Ticket:	#3956