Delete items form cart after "order" instead of onclick of the delete button

Deleting the items onclick causes the main screen and the popup to go out of sync.
Solving this by updating the screen causes enological behaviour when clicking "cancel"

Item which the user deletes from the cart in the popup are now stored in an array, and then removed when the order is placed.

(ignore additional commit messages, these were to get my workspace in sync again...)