implemented modal windows and search ui