modal is done, add documentation and some code review, next step: progressbar