First, get rid of all the chapter end actions or any overrides that you might have. You don't want to use those.
Your play all button should link to the timeline normally, and the timeline's end action should go back to the main menu. Your Play All button is now complete.
As for the Chapter buttons, you want to create a "Chapter Playlist" for each button. So, for Chapter one, create a Chapter Playlist (not a regular playlist), and drag the first chapter of that timeline into it. Set an end action of the chapter Playlist to return to the main menu.
Repeat that for all the other chapters, creating a chapter playlist for each. Link the chapter buttons on the menu to it's corresponding chapter playlist instead of the actual timeline itself.
Was this helpful? If you are creating a Blu-ray, chapter playlists will not work.
Jon Geddes
http://www.precomposed.com