Added support for saving ID for actions