Added panel Grid and implemented Cancel functionality