Improved platform support

Thanks to [Roman Shevchenko](http://devnet.jetbrains.com/message/5506926#5506926) we now have proper support for all platform dialogs :) 
0.9.15.3 should be based on this :)


Thanks.