prova a spostare ciò che c'è nel load in un altro bottone.. è probabile che nel load la openfiledialog non sia stata ancora creata