Issue/931 rewrite WPAlertDialogFragment

Fix #931 - rewrote WPAlertDialogFragment to make it more easily reusable