add modal js to clear remote options