Fixed bug in snippet layout

Cached snippet layout
Selected the snippet bar’s snippetAdd button
Cleaned up snippetAdd cancel and save button selection
Moved the snippetAdd state to the snippetBar