Close modal window after creating a stack

After creating a stack on the site (not admin), the user only receives a "OK" on the modal window. This change automaticaly closes the modal window after creating the stack.
![modal](https://f.cloud.github.com/assets/3456335/1351363/d1567e48-3722-11e3-80d2-6a2fec667538.jpg)