Close Assignment submission modal when submission is complete