Added spinner, dialog controller