Close Functionality Added