Set the target and action for the insert button