conver setting dropdown to modal