Cleaned up the list selector controller
Code clean up in the list selector's controller
Removed math.random() from modalDialog and listSelector directives