add pagination in files modal