adding type to all 4 modal buttons