modal view for snippet working but not buttons
conflicts resolved
editing buttons