AVALANCHE: Partially implement (there are still missing features: icon, keyboard control) the last missing type of scrolls: dialogs. Move some functions/variables, remove unused code in order to do so.