Sharing actions and attributes in modal action logic