Fixed bug with "showClose" on init

I found an little bug, where I needed the showClose option and it was not working on init.

That fixed it for me.