Close and back conditional based on opts
Merge pull request #6 from gameclosure/feature-conditional-buttons

Close and back conditional based on opts