Added feature to reset config; Added .dialog() from jQuery UI