Added div based dialogue box. Removed redundant canvas based ui and separated components in different files