Made the first version of the Dialog Window