modify modal dialog header styles
package success and fail dialog