Buttons disabled on new or open file