# application.closeForm() seems not to work in WC?

**URL:** <https://forum.servoy.com/t/application-closeform-seems-not-to-work-in-wc/14051>\
**Category:** Classic Servoy\
**Created:** [May 26, 2011, 2:43pm UTC](https://forum.servoy.com/t/application-closeform-seems-not-to-work-in-wc/14051 "2011-05-26T14:43:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kahuna](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@Kahuna](https://forum.servoy.com/u/Kahuna)\
**Post date:** [May 26, 2011, 2:43pm UTC](https://forum.servoy.com/t/application-closeform-seems-not-to-work-in-wc/14051/1 "2011-05-26T14:43:21Z")

</div>

This has been discussed before but I’m experiencing that the application.closeForm(‘mydialog’) does not work in the web client.

I can close the dialog using a button on it or from another form so I know I’m using the correct dialog name etc. But cant close it from code - either modal or non-modal format??

Anyone have similar experiences recently?

---

<div class="post-metadata">

**Author:** ![nestrocuation](https://avatars.discourse-cdn.com/v4/letter/n/e19adc/32.png) [@nestrocuation](https://forum.servoy.com/u/nestrocuation)\
**Post date:** [May 26, 2011, 6:36pm UTC](https://forum.servoy.com/t/application-closeform-seems-not-to-work-in-wc/14051/2 "2011-05-26T18:36:10Z")

</div>

Well i am using application.closeForm(‘mydialog’) in 5.2.6 and 5.2.7 and it seems to be working fine .

well i could try to help u if u could put your showformdialog and closeform code in here .
