# \[BUG\] Alter Dock Resetting Parameters on other open Docks

**URL:** <https://forum.inductiveautomation.com/t/bug-alter-dock-resetting-parameters-on-other-open-docks/78713>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 4, 2023, 7:58am UTC](https://forum.inductiveautomation.com/t/bug-alter-dock-resetting-parameters-on-other-open-docks/78713 "2023-09-04T07:58:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![liam1](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@liam1](https://forum.inductiveautomation.com/u/liam1)\
**Post date:** [September 4, 2023, 7:58am UTC](https://forum.inductiveautomation.com/t/bug-alter-dock-resetting-parameters-on-other-open-docks/78713/1 "2023-09-04T07:58:34Z")

</div>

I have two docks, one of the left and one on the right.  
They have different dock-id's. Left side dock has the id of `menu` ,right dock has the id of `MES`.

When the right dock is open and I click to open a configuration window (alters the menu dock, and opens it ), it opens correctly, but when I navigate back (alter the menu dock and closes it), it seems to be resetting the parameters on my right dock (MES).

I now have to alter the right dock (set the parameter that is getting reset) before closing the left dock to get around this.

```auto
	dockConfig= {
				   "view": "1_Templates/3_UI/Menu/Menu",
				   "viewParams":{},
				   "display": 'onDemand',
				   "resizable": False,
				   "modal": True,
				   "content": 'cover',
				   "size": 300,
				   "autoBreakpoint": 800,
				   "anchor":'scrollable',
				   "handle":'hide',
				   "handleIcon": ""
				}
	docker2={
			'viewParams':{'TagPath':self.view.params.TagPath}
	}
	system.perspective.alterDock('menu',dockConfig)
	system.perspective.alterDock('MES',docker2)
	system.perspective.closeDock("menu")
	

```

Has anyone else experienced this bug?

Our Gateway version is Version: **8.1.31 (b2023081007)**
