open preview tab right after selecting files