Minor Fix

Remove redundant comma
hide apply button when autoClose is true
Merge pull request #24 from lingceng/master

Hide apply button when autoClose is set true