Update modalpicker.php

Removed useless variable, causing warning