on panel open, now autofocuses the snippet input field
Replaced snippet input field text with placeholder text
made the done button a primary button
Cleaned up code a little bit and added a few comments