fixed modal and added some to it