added fix for confirm dialog
updated sql schema