Addressed an issue with removing a graph panel which contains at least one graph (#31).