Migrate search and upload buttons to Foundation