Fixed open file bug.
Attaching properties to Panel instead of class.