Added error handling for ajax requests and improved dialog interaction.
Added error handling for ajax requests and improved dialog interaction.

LyonsLab/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,asherkhb/coge,asherkhb/coge,asherkhb/coge,LyonsLab/coge,LyonsLab/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge