Fixed when in a dialog and opening a new dialog, and then closing the newly opened dialog that the player will be visible again. Now it will only be visible when the last dialog is closed.