Rmoved dialogs.js back to the dialogs folder, my mistake!!!