Fixed bug with select modal