#50 fix search dialog default button behavior after merge