showing a dialog box asking user to login when adding a comment.