Added toggling file types on modal