Added titles to the dialog boxes and fixed the removeAllCookies function