apply leave validation(backend) , permission close button , loading img color change