It's recommended to use the 'Edit to Timeline' feature available in the Behavior Add/Delete mode. Then put the idle motion on the head and tail end of the motion to trigger the motions smoothly.