fix(dialog): Don't increase the active backdrops counter when opening a dialog that is already open

When opening a dialog that is already open (e.g. to change the template), the active.backdrops count should not be increased, because this prevents the backdrop from being removed when you close the twice opened dialog.

I added a test, but I am not sure if this is the right way to test it.