Edit modal class and actions