The button of list options.

Bugs fixed.
Fix dialog not modal, add switch onoff.