Fixed a couple of bugs such as dialogs not being displayed at the right
time
Added ads, dialog confirmations and fixed some small bugs