Dialog fixes for wordpress.