more css, search sql, modal fixes