Hide apply button when autoClose is set true

I hide the apply button when `autoClose: true`
It seems more reasonable.