Chcecking if selected project is closed