* Fades out the window and removes it from the window controller
* afterwards.
*/
// TODO rename to animate hide, add effect completed handler in method
public void close() {
NEffect fade = createHideEffect();
fade.addEffectCompletedHandler(new EffectCompletedHandler() {
@Override
public void onEffectCompleted(EffectCompletedEvent event) {
removeEffects();
manager.close(WindowPanel.this);
}