adds clear cart function, adds confirmation dialogs when deleting items