Added some functions to control the size and position of the dialogue programatically.