insert before action dispatch static