Fix action enabled state
Fix action enabled state

- only enable Open when we are not showing the open page already
- only disable Open and Close when we are not currently parsing a file

muojp/heaptrack,muojp/heaptrack,muojp/heaptrack,muojp/heaptrack,muojp/heaptrack