Fixed bug where pages on forms dont get destroyed properly and still listen for button events
Merge pull request #875 from lodle/dupcreate

Fixed bug where pages on forms dont get destroyed properly