Add close button title option
Improve setting of width property