Implemented basic dialog boxes

Currently only supports one dialog box open at a time.