add basic button functionality to search dialog
create modal stops
refactor and create additional files for organization