WIP: save modal data.