* fix the widget placement when adding new one * fix the widget not adding in the right side add placeholders * added unit test for the same * fix sonar