Update src/jquery.sceditor.js

first click for create second click for close
Update dropdowns to close if the button is clicked twice.
- Thanks to @hhy89 for updating #87