Add search page and change button behavior.