make modal have some ui functionality