Fixed login view
Updated the ConfirmDialog to support AJAX requests