Fix logic for enabling/disabling options in stroke selection dialog
BUG:415896 (cherry picked from commit 94dc6c1a404119a26fc3ff9e27fab63e2e1256e5)