4.4 by phyma

Made changes to ActionDialog so wont display multiple windows and will close if there is no actions.