add action to form