Added a basic dialog manager that displays elements